﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ExpressionUtil.Parser
{
    /// <summary>
    /// 解析处理程序
    /// </summary>
    internal interface IParseHandler
    {
        /// <summary>
        /// 解析元素
        /// </summary>
        /// <param name="context">解析参数</param>
        /// <param name="element">需要解析的元素</param>
        /// <returns>解析的结果</returns>
        bool ParseElement(string element, ParseContext context);
    }
}
